package com.hqj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hqj.dao.TMenuDao;
import com.hqj.entity.TMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hqj
 * @since 2020-06-10
 */
@Service
public class TMenuServiceImpl extends ServiceImpl<TMenuDao, TMenu> implements IService<TMenu> {

    @Autowired
    private TMenuDao md;

    public List<TMenu> getMenuJsonByUserId(int uid){
        List<TMenu> list = md.getMenuJsonByUserId(uid);
        return list;
    }

}
